package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.UserLike;
import com.tanhua.domain.vo.PageResult;

public interface UserLikeApi {
    //相互喜欢
    Long queryEachLoveCount(Long userId);

    //喜欢
    Long queryLoveCount(Long userId);

    //粉丝
    Long queryFansCount(Long userId);

    PageResult queryEachLoveList(Long userId, Integer page, Integer pagesize);

    PageResult queryLoveList(Long userId, Integer page, Integer pagesize);

    PageResult queryFansList(Long userId, Integer page, Integer pagesize);

    PageResult queryVisitorsList(Long userId, Integer page, Integer pagesize);

    //删除粉丝记录
    void delete(Long userId, Long fansId);

    void save(UserLike userLike);

    boolean herLikeMeKnow(Long userId, Long id);

    void addOneLikeMe(Long userId, Long id);
}